﻿#pragma once


// CSettingDlg 对话框

class CSettingDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CSettingDlg)

public:
	CSettingDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CSettingDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_SETTING };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	int nPosX30;
	int nPosX31;
	int nPosX32;
	int nPosX33;
	int nPosX34;
	int nPosY30;
	int nPosY31;
	int nPosY32;
	int nPosY33;
	int nPosY34;
	int nPosZ30;
	int nPosZ31;
	int nPosZ32;
	int nPosZ33;
	int nPosZ34;
	virtual BOOL OnInitDialog();
	virtual void OnCancel();
	void ReadConfigIni();
	void SaveEditValueToConfig();
	afx_msg void OnBnClickedButtonSave();
	int m_nDisX;
	int m_nDisY;
	int m_nPerNum;
	int m_nTotalNum;
	int m_nPlasmaV;
	double m_dPlasmaR;
	int m_nGlueV;
	double m_dGlueR;
	int m_nPlasmaCircleNum;
	int m_nGlueCircleNum;
	int m_nGlueWait;
	int nPitouMax;
	BOOL OpenWeiyi;
	double m_dSpecUp;
	double m_dSpecDown;
	double m_dClearWait;
	BOOL PassPlasma;
	BOOL OpenWeight;
	double WeightDelay;
	double WeightDone;
	double WeightUp;
	int nPosX35;
	int nPosY35;
	int nPosZ35;
	CComboBox m_comboSpeedMode;
	int nPosX36;
	int nPosY36;
	int nPosZ36;
	BOOL PinCheckFlag;
	int PinCheckSpeed;
	int PinCheckDisX;
	int PinCheckPosY;
	int PinSetPosX;
	int PinSetPosY;
	int PinCheckPosZ;
	int PinSetPosZ;
	int m_nPlasmaWait;
	int PlasmaLifeSpec;
	int TanzhenLifeSpec;
	BOOL CheckSNFlag;
	int CheckSNLength;
	int m_nPowmax;
	int m_nPowmin;
	BOOL PlasmaSizeup;
	int m_nPlasmaWait_2;
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButton2();
	BOOL GlueSNCheckFlag;
	CString GlueSNCheck;
	CString LgfSNCheck;
};
